using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace _queensGA
{
    class Program
    {        

        static void Main(string[] args)
        {            
            frmMain m = new frmMain();
            m.ShowDialog();
            
            /*
            int N = 11;
            Population p = new Population(50, N);
            frmBoard b = new frmBoard(N);
            b.Show();            
            
            for (; ; )
            {
                p.NextGeneration();
                //Console.WriteLine(p);
                if (p.bestSoFar.Fitness == 0)
                    break;
                Console.WriteLine("{0}: {1} AvCost: {2:N3}", p.generation, p.bestSoFar, p.Fitness() * 1.0 / p.pop.Count);                
                b.UpdateState(p.bestSoFar);
                Application.DoEvents();                
            }
            Console.WriteLine("Found a solution: ");
            Console.WriteLine(p.bestSoFar);
            b.Hide();
            b.done = true;
            b.UpdateState(p.bestSoFar);
            b.ShowDialog();*/
        }
    }
}
